﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ORM.Business.Models
{
    public class KeyObject
    {
        public const int UserState_Active = 1;
        public const int UserState_Banned = 2;

        public static class PointConfig
        {
            public const int StartingPoint = 0;
            public const int CreateGuide = 50;
            public const int CreateAnswer = 20;
            public const int AnswerIsAccepted = 10;
            public const int Like = 1;
            public const int Spam = -30;
        }

        public static class TopItemNumber
        {
            public const int GuideNumber = 7;
            public const int QuestionNumber = 7;
        }

        public static class Permission
        {
            public const string ManageDictionary = "Manage Dictionary";
            public const string ViewAdminPages = "View admin pages";
            public const string ManageContents = "Manage Contents";
            public const string ManageSpam = "Manage Spam";
            public const string ManageUsers = "Manage Users";
            public const string ManageCategories = "Manage Categories";
            public const string ManageApproval = "Manage Approval";
            public const string ViewStatistics = "View statistics";
            public const string EditContents = "Edit Contents";
        }
    }
}